﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MapEditor
{
    class myDisplay : WinFormsGraphicsDevice.GraphicsDeviceControl
    {
        public EventHandler onInitialise;
        public EventHandler onDraw;

        protected override void Initialize()
        {
            if (onInitialise != null)
                onInitialise(this, null);
        }

        protected override void Draw()
        {
            if (onDraw != null)
                onDraw(this, null);
        }
    }
}
